package com.dq.controller.api.merchant.in.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import java.math.BigDecimal;

/**
 * @Author luchangtong
 * @Date 2019/12/16 15:59
 */
@Data
@ApiModel("会员等级")
public class LevelRequest {
    @ApiModelProperty("等级id")
    public Long id;
    @ApiModelProperty("门店id")
    public Long orgId;
    @ApiModelProperty("等级名称")
    @NonNull
    public String levelName;
    @ApiModelProperty("该等级满足最低消费金额")
    @NonNull
    protected BigDecimal minAmount;
    @ApiModelProperty("该等级满足最高消费金额")
    @NonNull
    protected BigDecimal maxAmount;
}
